#include <chrono>

#ifndef JOBPARTNER_TASK_H
#define JOBPARTNER_TASK_H

#define TASK_NUM 1000

static inline void SimulateTask(size_t us)
{
    auto start = std::chrono::steady_clock::now();
    while (std::chrono::steady_clock::now() - start < std::chrono::microseconds(us));
}

#endif //JOBPARTNER_TASK_H